package com.qj.yantaishan.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qj.yantaishan.domain.StorePhysicalAssigned;

/**
 * 订单商品门店分配记录Mapper接口
 * 
 * @author qihe
 * @date 2022-07-22
 */
public interface StorePhysicalAssignedMapper extends  BaseMapper<StorePhysicalAssigned>
{
    /**
     * 查询订单商品门店分配记录
     * 
     * @param pigcmsId 订单商品门店分配记录主键
     * @return 订单商品门店分配记录
     */
    public StorePhysicalAssigned selectStorePhysicalAssignedByPigcmsId(Long pigcmsId);

    /**
     * 查询订单商品门店分配记录列表
     * 
     * @param storePhysicalAssigned 订单商品门店分配记录
     * @return 订单商品门店分配记录集合
     */
    public List<StorePhysicalAssigned> selectStorePhysicalAssignedList(StorePhysicalAssigned storePhysicalAssigned);

    /**
     * 新增订单商品门店分配记录
     * 
     * @param storePhysicalAssigned 订单商品门店分配记录
     * @return 结果
     */
    public int insertStorePhysicalAssigned(StorePhysicalAssigned storePhysicalAssigned);

    /**
     * 修改订单商品门店分配记录
     * 
     * @param storePhysicalAssigned 订单商品门店分配记录
     * @return 结果
     */
    public int updateStorePhysicalAssigned(StorePhysicalAssigned storePhysicalAssigned);

    /**
     * 删除订单商品门店分配记录
     * 
     * @param pigcmsId 订单商品门店分配记录主键
     * @return 结果
     */
    public int deleteStorePhysicalAssignedByPigcmsId(Long pigcmsId);

    /**
     * 批量删除订单商品门店分配记录
     * 
     * @param pigcmsIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteStorePhysicalAssignedByPigcmsIds(String[] pigcmsIds);
}
